home *** CD-ROM | disk | FTP | other *** search
/ PC Format (UK) 124 / pcfcd124-a.iso / PCF wired.dxr / 00005_go to the frame.ls < prev    next >
Encoding:
Text File  |  2001-05-22  |  309 b   |  14 lines

  1. on enterFrame
  2.   set the locH of sprite 6 to the locH of sprite 6 - 2
  3.   if (the width of sprite 6 < 376) and (the locH of sprite 6 < 57) then
  4.     set the locH of sprite 6 to 57
  5.   end if
  6.   if the locH of sprite 6 < -520 then
  7.     set the locH of sprite 6 to 190
  8.   end if
  9. end
  10.  
  11. on exitFrame me
  12.   go(the frame)
  13. end
  14.